//
//  YXDownloadingTableViewCell.h
//  MockProject
//
//  Created by FanYu on 23/8/2016.
//  Copyright © 2016 niuzhaowang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YXTaskModel.h"

@protocol YXDownloadingTableViewCellDelegate <NSObject>
- (void)downloadingCellButtonTapped:(UIButton *)sender;
@end


@interface YXDownloadingTableViewCell : UITableViewCell

@property (nonatomic, weak) id<YXDownloadingTableViewCellDelegate> delegate;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *sizeLabel;
@property (weak, nonatomic) IBOutlet UILabel *speedLabel;
@property (weak, nonatomic) IBOutlet UIButton *actionButton;
@property (weak, nonatomic) IBOutlet UIView *progressView;
@property (weak, nonatomic) IBOutlet UIView *grayProgressView;
@property (nonatomic, assign) NSNumber *status;
@property (nonatomic, strong) YXTaskModel *taskModel;
@property (nonatomic, assign) CGFloat progress;

@end
